package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.KeFu;
import com.stlm2.dems.dao.KeFuDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

import java.util.List;

@Repository("keFuDao")
public class KeFuDaoImpl extends BaseDaoImpl<KeFu> implements KeFuDao {

    @Override
    public KeFu getOne() {
        return selectOne("getOne","");
    }

    @Override
    public List<KeFu> getByNumber(String weChatNumber) {
        return selectList("getByNumber",weChatNumber);
    }
}